/*
 * Copyright (c) 2017. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan.
 * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna.
 * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus.
 * Vestibulum commodo. Ut rhoncus gravida arcu.
 */

package com.x2xw.web.controller;

import com.x2xw.web.service.IUserService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * User:fyf
 * date:2017-07-20 14:40
 */
@Controller
@RequestMapping(value = "/user")
public class UserController {

    @Resource
    private  IUserService userService;

    @RequestMapping(value = "/login")
    public String login(){

        userService.getUserById(1);

        return "";
    }

}
